CCD BV photometry of the intermediate age open cluster NGC 1245