FOUR-COLOR AND H-BETA PHOTOMETRY OF OPEN CLUSTERS. II. COMA AND URSA MAJOR.