Electromagnetically induced transparency and quantum heat engines