Strain controlled ferromagnetic–ferrimagnetic transition and vacancy formation energy of defective graphene