Camshaft and crankshaft position sensors