Effect of band mixing of the hole subbands in quantum wells on the optical transition intensities in a magnetic field