BP chief executive Bernard Looney to resign