How are the Richter scale and mercalli scale different?