Earthquake of magnitude hits Jammu and Kashmir