Cyclotron emission, absorption, and the two faces of X-ray pulsar A 0535+262