The officers were shot before a SWAT team was dispatched to the scene