Photoluminescence study of two-dimensional carriers in the presence of in-plane magnetic fields