INCLUSIVE TRANSVERSE-MOMENTUM DISTRIBUTIONS OF CHARGED-PARTICLES IN DIFFRACTIVE AND NON-DIFFRACTIVE PHOTOPRODUCTION AT HERA