CCD uvby beta photometry of young open clusters – I. The double cluster h and chi Persei