Structural and functional studies of bacterial protein tyrosine kinases