Molecular dynamics and electronic structure study of neutral, cationic and anionic (Fe3O4)1–5 clusters