Police have arrested two teenage boys after attempted robberies targeting a woman and girls in a Peak District town's park.