England cruised to victory over Pakistan in a rain-affected match