Morsi's new prosecutor offers to resign over powers protests