A general route toward 2-oxo-, 2-thioxo- and 2-iminopenams and their conversion into 2-alkoxy-, 2-alkylthio- and 2-aminopenems