Obama to visit Mexico in May, foreign ministry says