Investigation of the α-cluster structure of Ne22 and Mg22