Hurricane Maria has knocked out power to the entire island of Puerto Rico, home to 3.5 million people, emergency officials have said.