Photoexcitation of M1 and E2 levels in O16