The birth of stars and planets: new views from ALMA and JWST