Determination of the Hubble constant from observations of Cepheid variables in the galaxy M96