Coherent manipulation of motional states of trapped ions