Spatially resolved star formation histories of nearby galaxies: evidence for episodic star formation in discs