Density-wave patterns for fermionic dipolar molecules on a square optical lattice: Mean-field-theory analysis