Kinematics of gas and stars in spiral galaxies