Magnitude 5.0 earthquake hits Alaska, felt in capital city