Photodissociation dynamics of the S1(nπ*) state of formic acid