The chromospheric emission-age relation for stars of the lower main sequence and its implications for the star formation rate