Theory of magnetoelectric photocurrent generated by direct interband transitions in a semiconductor quantum well