Ayala header gives Mexico win over Bosnia