Reciprocating electric motor