A super-Earth and two sub-Neptunes transiting the nearby and quiet M dwarf TOI-270