Apartments damaged by overnight fire