Rotation and activity among solar-type stars of the Ursa Major Group