Artin-Schelter regularity of twisted tensor products