Infrared studies of high Tc superconductors