Egypt's cabinet offers to resign as protests against junta grow