MotoGP's switch to 1000cc engines from 2012 has been passed by motorcycle racing's government body, the FIM.