An HST/WFPC2 survey of bright young clusters in M 31 - IV. Age and mass estimates