New Zealand parliament shaken by 6.2 earthquake