Palestinian Authority President Mahmoud has sworn in a new prime minister but his appointment has been criticised by Hamas