Where galaxies collide – I. NGC 3077 and star formation in the M81 system