Valley Center officer resigns after sex crimes arrest