Simultaneous BeppoSAX and Rossi X-ray timing explorer observations of 4U 1812–12