Two-dimensional magnetophonon resonance in GaInAs-InP and GaInAs-AlInAs heterojunctions and superlattices