Films of bacteria at interfaces: three stages of behaviour