Herschel spectroscopic observations of Zw 049.057 and Arp 299a