Effect of double substitution on structural and magnetic properties of Y1-xCaxBa2(Cu1-yMgy)3O7-δ