A parametrization of the effects of cloud and precipitation overlap for use in general circulation models