'Wrong flat' officer who shot black man in his home charged