Cycloidal paths in physics as superpositions of translational and rotational motions