Development of an operational algorithm for estimating snow-cover fraction