Rescue and relief workers seeking access to some of the worst quake-hit areas are being blocked by the military.