Japan issues first ‘megaquake’ warning after 7.1-magnitude temblor