Great Britain's Andy Murray and Heather Watson beat Benoit Paire and Alize Cornet 2-1 in their opening Hopman Cup Group B match.