Magnitude 5.1 earthquake strikes western Iran