Study on hydrogen storage properties of Mg–X (X = Fe, Co, V) nano-composites co-precipitated from solution