6.2-magnitude quake hits off Solomon Islands