Beaches reopened after pipe bomb blast in NJ